package fatworm.planner;

import fatworm.parser.syntree.QueryNode;
import fatworm.parser.syntree.SyntaxNode;
import fatworm.query.Plan;
import fatworm.tx.Transaction;

public class BasicQueryPlanner implements QueryPlanner {
	
	public Plan createPlan(SyntaxNode node, Transaction tx) {
		Translator translator = new Translator(tx);
		return translator.convert((QueryNode)node);
	}
	
}